{template "header.html"}

<main class="content">

    <section class="addon-section">
        <div class="container">
            <div class="text-line">
                <h5><span>{$cat.name}</span>
                </h5>
            </div>

            <div class="addon-list">
                <div class="row">

                    {search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=21 urlrule=$urlrule}
                    <div class="col-lg-4 col-md-4 col-xs-4 grid-item">
                        <div class="addon-item">
                            <div class="addon-img">
                                <a href="{$t.url}"> <img src="{dr_thumb($t.thumb)}" class="img-responsive"></a>
                            </div>
                            <div class="addon-info">
                                <div class="title"> <a href="{$t.url}">{$t.title}</a> </div>
                                <div class="addon-description">{dr_strcut($t.description, 30)}</div>
                                <div class="metas clearfix">
                                    <div class="clear"></div>
                                    <span class="addon-author">{$t.updatetime}</span>
                                    <span class="addon-price">
                                            <span class="price">
                                                <span class="text-danger">{$t.price}元</span>
                                            </span>
                                    </span>
                                </div>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </div>

                    {/search}

                </div>


            </div>


            <div style="text-align: center">
                {if !$count}
                <div class="row fc-search-null">
                    <div class="col-md-12 text-center">
                        <i class="fa fa-close fc-search-null-icon"></i>
                        <label class="fc-search-null-txt">没有找到相关内容...</label>
                    </div>

                </div>
                {/if}
                <div class="search-pagination">
                    <ul class="pagination">
                        {$pages}
                    </ul>
                </div>
            </div>
        </div>

    </section>

</main>

{template "footer.html"}